import _http from '@/utils/http'

export default {
    goodsInfoAll(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/goodsInfo/list/all',
            apiName: '所有商品下拉',
        }, params, loading, headers)
    },

    goodsOrderNumberList(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/goods-order-number/list',
            apiName: '列表',
        }, params, loading, headers)
    },

    goodsOrderNumberAdd(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/goods-order-number/add',
            apiName: '新增',
        }, params, loading, headers)
    },

    goodsOrderNumberDelete(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/goods-order-number/delete',
            apiName: '删除',
        }, params, loading, headers)
    },

    goodsOrderNumberUploadTemplete(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/goods-order-number/upload-templete',
            apiName: '批量导入模板',
        }, params, loading, headers)
    },

    goodsOrderNumberImport(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/goods-order-number/goods-price/import',
            apiName: '批量导入',
        }, params, loading, headers)
    },

    goodsOrderNumberRecord(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/goods-order-number/import/record/list',
            apiName: '导入记录-查询',
        }, params, loading, headers)
    },
}
